import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { FTKComponent } from './ftk/ftk.component';
import { PastSixYearsComponent } from './past-six-years/past-six-years.component';
import { ImgBoxComponent } from './img-box/img-box.component';

// 路由配置
const routes: Routes = [
  {
    path:"FTK",
    component:FTKComponent,
  },
  {
    path:"pastSixYears",
    component:PastSixYearsComponent,
  },
  {
    path:"Shopping",
    component:ImgBoxComponent
  }
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AppRoutingModule { }
